package com.gopay.common.domain.cbrmb.internationalcard.masapay;

import java.io.Serializable;

/**
 * order notify
 * 
 * @ClassName: MasaPayOrderNotifyDTO 
 * @Description: TODO 
 * @author gd.cui 
 * @date 2017年10月26日 下午7:12:31
 */
public class MasaPayOrderNotifyDTO implements Serializable{
	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */
	private static final long serialVersionUID = 1L;
	// 基本参数
	private String version;
	private String merchantId;
	private String charset;
	private String language;
	private String signType;
	private String serviceType;

	// business
	private String merchantOrderNo;
	private String gatewayOrderNo;
	private String submitTime;
	private String dealTime;
	private String currencyCode;
	private String orderAmount;
	private String paidAmount;
	private String resultCode;
	private String errCode;
	private String errMsg;
	private String riskLevel;
	private String riskDesc;
	private String ext1;
	private String ext2;
	private String signMsg;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}

	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}

	public String getGatewayOrderNo() {
		return gatewayOrderNo;
	}

	public void setGatewayOrderNo(String gatewayOrderNo) {
		this.gatewayOrderNo = gatewayOrderNo;
	}

	public String getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}

	public String getDealTime() {
		return dealTime;
	}

	public void setDealTime(String dealTime) {
		this.dealTime = dealTime;
	}

	public String getCurrencyCode() {
		return currencyCode;
	}

	public void setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
	}

	public String getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(String orderAmount) {
		this.orderAmount = orderAmount;
	}

	public String getPaidAmount() {
		return paidAmount;
	}

	public void setPaidAmount(String paidAmount) {
		this.paidAmount = paidAmount;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getRiskLevel() {
		return riskLevel;
	}

	public void setRiskLevel(String riskLevel) {
		this.riskLevel = riskLevel;
	}

	public String getRiskDesc() {
		return riskDesc;
	}

	public void setRiskDesc(String riskDesc) {
		this.riskDesc = riskDesc;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getSignMsg() {
		return signMsg;
	}

	public void setSignMsg(String signMsg) {
		this.signMsg = signMsg;
	}

	@Override
	public String toString() {
		return "MasaPayOrderNotifyDTO [version=" + version + ", merchantId=" + merchantId + ", charset=" + charset
				+ ", language=" + language + ", signType=" + signType + ", serviceType=" + serviceType
				+ ", merchantOrderNo=" + merchantOrderNo + ", gatewayOrderNo=" + gatewayOrderNo + ", submitTime="
				+ submitTime + ", dealTime=" + dealTime + ", currencyCode=" + currencyCode + ", orderAmount="
				+ orderAmount + ", paidAmount=" + paidAmount + ", resultCode=" + resultCode + ", errCode=" + errCode
				+ ", errMsg=" + errMsg + ", riskLevel=" + riskLevel + ", riskDesc=" + riskDesc + ", ext1=" + ext1
				+ ", ext2=" + ext2 + ", signMsg=" + signMsg + "]";
	}

	public String signatureData(String key) {
		return "version=" + version + "&signType=" + signType + "&merchantOrderNo=" + merchantOrderNo + "&currencyCode="
				+ currencyCode + "&orderAmount=" + orderAmount + "&paidAmount=" + paidAmount + "&submitTime="
				+ submitTime + "&resultCode=" + resultCode + "&key=" + key;
	}
}
